<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>温度</title>
</head>
<body>
    <script>
        var C=prompt("请输入华氏温度");
        document.write("摄氏度为："+ (parseInt(5/9*(C-32)*1000)/1000)+"℃");
        
    </script>
</body>
</html>